<?php
include("conn.php");
$username=$_GET["username"];
$sql=mysql_query("select * from guanli where username = '$username'");
$result=mysql_fetch_array($sql);
if ($result!=false)
{
echo "<font color=RED>該帳號已被使用！請換帳號！</font><img src='12.gif'>";

}else{
echo "<font color=yellow>該帳號可以使用！</font><img src='3.gif'>";

}
?>